package com.gm.app.jackson;

import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;

import com.gm.app.model.Contact;
import com.gm.app.model.Country;
import com.gm.app.model.Geo;
import com.gm.app.model.Indication;
import com.gm.app.model.Place;
import com.gm.app.model.Publisher;
import com.gm.app.model.Resident;
import com.gm.app.model.Visit;

public class CustomObjectMapper extends ObjectMapper {
	
	
	public CustomObjectMapper(){
		//this.configure(SerializationConfig.Feature.DEFAULT_VIEW_INCLUSION, false);
		/*this.getSerializationConfig().addMixInAnnotations(Country.class, Views.Mixin.class);  
		this.getSerializationConfig().addMixInAnnotations(Contact.class, Views.Mixin.class);  
		this.getSerializationConfig().addMixInAnnotations(Geo.class, Views.Mixin.class);  
		this.getSerializationConfig().addMixInAnnotations(Indication.class, Views.Mixin.class);  
		this.getSerializationConfig().addMixInAnnotations(Place.class, Views.Mixin.class);  
		this.getSerializationConfig().addMixInAnnotations(Publisher.class, Views.Mixin.class);
		this.getSerializationConfig().addMixInAnnotations(Resident.class, Views.Mixin.class);
		this.getSerializationConfig().addMixInAnnotations(Visit.class, Views.Mixin.class);*/
		//this.getSerializationConfig().setSerializationView(Views.Public.class);
	}
}

